package com.beiben.work.process.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务导出对象 export_process_vo
 * 
 * @author xgq
 * @date 2020-09-18
 */
public class ExportProcessVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户名 */
    @Excel(name = "用户名")
    private String nickName;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String workName;

    /** 工作内容 */
    @Excel(name = "工作内容")
    private String workContent;

    /** 风险等级 */
    @Excel(name = "风险等级")
    private String riskGrade;

    /** 组织机构 */
    @Excel(name = "组织机构")
    private String deptName;

    /** 任务来源 */
    @Excel(name = "任务来源")
    private String workSource;

    /** 所属组别 */
//    @Excel(name = "所属组别")
    private String workGroup;

    /** 每日工作时长 */
    @Excel(name = "每日工作时长")
    private BigDecimal workHours;

    /** 文件时长 */
    @Excel(name = "文件时长")
    private BigDecimal fileHours;

    /** 文本工时 */
    @Excel(name = "文本工时")
    private BigDecimal textHours;

    /** 是否超时 */
    @Excel(name = "是否超时")
    private String isTimeOut;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date finishTime;

    /** 任务状态 */
    @Excel(name = "任务状态")
    private String state;

    /** 实际完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date realFinishTime;

    private Long deptId;

    public void setWorkName(String workName)
    {
        this.workName = workName;
    }

    public String getWorkName() 
    {
        return workName;
    }
    public void setWorkContent(String workContent) 
    {
        this.workContent = workContent;
    }

    public String getWorkContent() 
    {
        return workContent;
    }

    public void setWorkGroup(String workGroup) 
    {
        this.workGroup = workGroup;
    }

    public String getWorkGroup() 
    {
        return workGroup;
    }
    public void setWorkHours(BigDecimal workHours) 
    {
        this.workHours = workHours;
    }

    public BigDecimal getWorkHours() 
    {
        return workHours;
    }
    public void setFileHours(BigDecimal fileHours) 
    {
        this.fileHours = fileHours;
    }

    public BigDecimal getFileHours() 
    {
        return fileHours;
    }
    public void setTextHours(BigDecimal textHours) 
    {
        this.textHours = textHours;
    }

    public BigDecimal getTextHours() 
    {
        return textHours;
    }
    public void setIsTimeOut(String isTimeOut) 
    {
        this.isTimeOut = isTimeOut;
    }

    public String getIsTimeOut() 
    {
        return isTimeOut;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setFinishTime(Date finishTime) 
    {
        this.finishTime = finishTime;
    }

    public Date getFinishTime() 
    {
        return finishTime;
    }
    public void setRealFinishTime(Date realFinishTime) 
    {
        this.realFinishTime = realFinishTime;
    }

    public Date getRealFinishTime() 
    {
        return realFinishTime;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getRiskGrade() {
        return riskGrade;
    }

    public void setRiskGrade(String riskGrade) {
        this.riskGrade = riskGrade;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getWorkSource() {
        return workSource;
    }

    public void setWorkSource(String workSource) {
        this.workSource = workSource;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("nickName", getNickName())
            .append("workName", getWorkName())
            .append("workContent", getWorkContent())
            .append("riskGrade", getRiskGrade())
            .append("deptName", getDeptName())
            .append("workSource", getWorkSource())
            .append("workGroup", getWorkGroup())
            .append("workHours", getWorkHours())
            .append("fileHours", getFileHours())
            .append("textHours", getTextHours())
            .append("isTimeOut", getIsTimeOut())
            .append("startTime", getStartTime())
            .append("finishTime", getFinishTime())
            .append("realFinishTime", getRealFinishTime())
            .append("state", getState())
            .toString();
    }
}
